package com.wxzz.elearing.course.service.openfeign.sentinel;

import com.wxzz.elearing.course.service.openfeign.IDocentFeign;
import com.wxzz.elearning.common.vo.ReturnVO;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class DocentFeignImpl implements IDocentFeign {

    @Override
    public ReturnVO<String> selectDocentById(Long docentId) {
        ReturnVO<String> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectDocentById调用异常");
        return returnVO;
    }

    @Override
    public Integer selectCountByDocent(Long enterpriseId) {
        return 0;
    }
}
